package com.yanghx.springtxjpa.dao;

import com.yanghx.springtxjpa.domain.Customer;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author yangHX
 * createTime  2019/8/7 22:21
 */
public interface CustomerRepository extends JpaRepository<Customer, Long> {

    Customer findOneByUserName(String userName);

}
